package com.currency.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "wyt_currency_coins_trans")
public class WytCurrencyCoinsTrans {
    @ApiModelProperty(value = "交易编号")
    @TableId(value = "trans_id")
    private String transId;

    @ApiModelProperty(value = "金币转出用户编号")
    @TableField(value = "pay_user_id")
    private String payUserId;

    @ApiModelProperty(value = "金币获取用户编号")
    @TableField(value = "rec_user_id")
    private String recUserId;

    @ApiModelProperty(value = "交易关联的冻结id")
    @TableField(value = "freeze_id")
    private String freezeId;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_datetime")
    private Date createDatetime;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "update_datetime")
    private Date updateDatetime;

}